PKG_NAME = mc
PKG_VERS = 4.8.33
PKG_EXT = tar.xz
PKG_DIST_NAME = $(PKG_NAME)-$(PKG_VERS).$(PKG_EXT)
PKG_DIST_SITE = http://ftp.midnight-commander.org/
PKG_DIR = $(PKG_NAME)-$(PKG_VERS)

DEPENDS = cross/glib cross/slang cross/libext2fs cross/libssh2

HOMEPAGE = https://www.midnight-commander.org
COMMENT  = GNU Midnight Commander is a visual file manager. It\'s a feature rich full-screen text mode application that allows you to copy, move and delete files and whole directory trees, search for files and run commands in the subshell. Internal viewer and editor are included.
LICENSE  = GPLv3

GNU_CONFIGURE = 1
CONFIGURE_ARGS  = fu_cv_sys_stat_statfs2_bsize=yes
CONFIGURE_ARGS += --with-screen=slang
CONFIGURE_ARGS += --disable-tests
ADDITIONAL_CFLAGS = -O3

include ../../mk/spksrc.cross-cc.mk
